<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<input id="inputId" type="text" value="Hello JQuery" />
		
		<script src="../js/jquery-2.1.4.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			// JS Dom对象
			var domObj = document.getElementById('inputId');
			console.log(domObj.value);
			// JQuery对象
			var jqueryObj = $('#inputId');
			console.log(jqueryObj.val());
			console.log(jqueryObj.attr('value')); // attribute: 属性
			console.log(jqueryObj.attr('type'));
		</script>
	</body>
</html>
